<template>
	<view>
		<view class="albums-box-title">
			<text>{{title}}</text>
		</view>
		<view class="content-in">
			<video style="width: 100%;height: 300px;" :src="videoUrl"></video>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '',
				videoUrl: '',
			}
		},
		onLoad(e) {
				// 方法一失败 
				// console.log('视频页面: '+e.videoUrl);
				// console.log('视频页面接受到的e: '+e.videoUrl);
				this.videoUrl = e.videoUrl;
				// this.videoUrl = 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-0455454d-b373-4768-aa39-dc1226fc1362/5017a17a-389b-45e0-8d91-711c9dc76759.mp4'
				this.title = e.title
				
				// 方法二开始
				
		},
		methods: {
			
		},
	}
</script>

<style>
	.albums-box-title {
		width: 95%;
		height: 100rpx;
		position: relative;
		font-size: 44rpx;
		margin-bottom: 30rpx;
		margin: 30rpx auto;
	}

	.albums-box-title::after {
		content: "";
		background-color: #E17564;
		width: 100%;
		height: 4rpx;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
	}

	.content-in {}

	.content-in video {
		width: 100%;
	}
</style>
